package com.oa.bean;

import java.util.Date;

public class Message {
    /**
     * 
     */
    private Integer messageId;

    /**
     * 
     */
    private String title;

    /**
     * 
     */
    private String content;

    /**
     * 
     */
    private Integer type;

    /**
     * 
     */
    private Date beginTime;

    /**
     * 
     */
    private Date endTime;

    /**
     * 
     */
    private String fromUserId;

    /**
     * 
     */
    private Integer isPublish;

    /**
     * 
     */
    private Date recordTime;

    /**
     * 
     * @return message_Id 
     */
    public Integer getMessageId() {
        return messageId;
    }

    /**
     * 
     * @param messageId 
     */
    public void setMessageId(Integer messageId) {
        this.messageId = messageId;
    }

    /**
     * 
     * @return title 
     */
    public String getTitle() {
        return title;
    }

    /**
     * 
     * @param title 
     */
    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    /**
     * 
     * @return content 
     */
    public String getContent() {
        return content;
    }

    /**
     * 
     * @param content 
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    /**
     * 
     * @return type 
     */
    public Integer getType() {
        return type;
    }

    /**
     * 
     * @param type 
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 
     * @return begin_Time 
     */
    public Date getBeginTime() {
        return beginTime;
    }

    /**
     * 
     * @param beginTime 
     */
    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    /**
     * 
     * @return end_Time 
     */
    public Date getEndTime() {
        return endTime;
    }

    /**
     * 
     * @param endTime 
     */
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    /**
     * 
     * @return from_User_Id 
     */
    public String getFromUserId() {
        return fromUserId;
    }

    /**
     * 
     * @param fromUserId 
     */
    public void setFromUserId(String fromUserId) {
        this.fromUserId = fromUserId == null ? null : fromUserId.trim();
    }

    /**
     * 
     * @return is_Publish 
     */
    public Integer getIsPublish() {
        return isPublish;
    }

    /**
     * 
     * @param isPublish 
     */
    public void setIsPublish(Integer isPublish) {
        this.isPublish = isPublish;
    }

    /**
     * 
     * @return record_Time 
     */
    public Date getRecordTime() {
        return recordTime;
    }

    /**
     * 
     * @param recordTime 
     */
    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }
}